@extends('pc.v3.layouts.newapp')
@push('styles')
  <link rel="stylesheet" href="{{web_static('pc/v3/css/zhuanti.min.css',true)}}"/>
@endpush
@section('content')
  <div class="wrap h460">
    <div class="banner_center"><img src="http://img.ishangzu.com/ishangzu/2017/04/10/16/a0cca9ce-136d-7343-c1c1-d897cbe8624e.png@1226w_468h_1c_1e.jpg"/></div>
    <div class="center-title">
      <p>专题简介</p>
      <h2>阳台上春光正好，朝南好房尽享春日风情 ！</h2>
    </div>
    <div class="house-content">
      <div class="operating-content">
        <ul>
          @if(is_array($items))
          @foreach($items as $item)
          @php $item = Common\Standard\Object\stdHouse::instance($item); @endphp
          <li class="refer-item @if($loop->iteration % 3 == 0) mr0 @endif"><a href="{{$item->url()}}" title="{{$item->premName}} {{$item->getHouseRoomHallToilet(false)}} {{$item->getHouseSize('')}}m² 精装修公寓房">
              <div class="refer-img"><img src="{{$item->image('@390w_292h_1c_1e')}}" alt="{{$item->premName}}公寓出租租房"/></div>
              <div class="refer-info">
                <p class="house-price">{{$item->currentPrice()}}元/月<span class="house-name">{{str_limit($item->premName,16)}}</span></p>
                <p class="house-details">{{$item->districtName}} | {{$item->bizCircleName}} | {{$item->getHouseRoomHallToilet()}} | {{$item->getRentalTypeName()}} | {{$item->getHouseDirection('朝')}} | {{$item->getHouseFloor()}}</p>
                <p class="refer-tag"><i class="@if($item->isBrandApartment()) refer-tag-yellow @else refer-tag-pink @endif">{{$item->getApartmentTypeName()}}</i>
                  @if(in_array('带阳台',$item->tags))<i class="refer-tag-red">带阳台</i>
                  @endif
                  @if(in_array('带独卫',$item->tags))<i class="refer-tag-blue">带独卫</i>
                  @endif
                  @if(in_array('带飘窗',$item->tags))<i class="refer-tag-yellow">带飘窗</i>
                  @endif
                  @if(in_array('落地窗',$item->tags))<i class="refer-tag-blue">落地窗</i>
                  @endif
                  @if(in_array('可住两人',$item->tags))<i class="refer-tag-pink">可住两人</i>
                  @endif
                </p>
              </div></a></li>
          {{-- 最多允许3条房源数据 --}}
          @if($loop->iteration >= 9) @break @endif
          @endforeach
          @endif
        </ul>
      </div>
    </div>
    <div class="operating-btn"><a href="{{seo_url(\Common\Define\Route\WebRoute::ZUFANG)}}" target="_blank" class="operating-more">更多房源</a></div>
  </div>
@endsection
@push('scripts')
  <script src="{{web_static('pc/v3/js/zhuanti.min.js',true)}}"></script>
@endpush